<include file="Public:header" />
<div id="zoneHeader">
    <h2>报表报警配置</h2>
    <ul>
        <if condition="C('C_IS_MASTER_SERVER') EQ 1">
        <li><button type="button" class="btnFormEditSave">保存</button></li>
        </if>
    </ul>
</div><!--/#zoneHeader-->
<div id="zoneBody" class="noFooter">
<style type="text/css">
#zoneBodyContent h3{font-size:14px;background:#eee;padding:0 10px;}
#zoneBodyContent .dl2Col{margin-bottom:20px;}
#zoneBodyContent .dl2Col dt{width:200px;}
#zoneBodyContent .dl2Col dd{margin-left:210px;}

#formConfWrap{width:800px;margin:auto;}

.confList{}
.confList li{padding:3px 0;}
</style>
    <div id="zoneBodyContent">
        <div id="formConfWrap">
        <p style="font-size:14px;font-weight:blod;color:red;">注意：系统配置只能在主服务器保存，保存配置文件后必须立即同步文件至各从属服务器，否则从属服务器的配置信息依旧是更改前的数据</p>
        <form id="formEdit" action="?m={$Think.const.MODULE_NAME}&a=doSave">
        <h3>常规配置</h3>
        <dl class="dl2Col">
            <dt>点击率：</dt>
            <dd>
                <select name="stats_warn_conf_click_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_click_scale" class="fW50p" /> %</label>
            </dd>
            <dt>手机流量比率：</dt>
            <dd>
                <select name="stats_warn_conf_mobile_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_mobile_scale" class="fW50p" /> %</label>
            </dd>
            <dt>IE浏览器流量比率：</dt>
            <dd>
                <select name="stats_warn_conf_browser_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_browser_scale" class="fW50p" /> %</label>
            </dd>
            <dt>点显时长10秒以上比率：</dt>
            <dd>
                <select name="stats_warn_conf_show_click_11_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_show_click_11_scale" class="fW50p" /> %</label>
            </dd>
            <dt>点显时长6-10秒以内比率：</dt>
            <dd>
                <select name="stats_warn_conf_show_click_6_10_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_show_click_6_10_scale" class="fW50p" /> %</label>
            </dd>
            <dt>点显时长5秒以内比率：</dt>
            <dd>
                <select name="stats_warn_conf_show_click_5_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_show_click_5_scale" class="fW50p" /> %</label>
            </dd>
            <dt>无点击坐标流量比率：</dt>
            <dd>
                <select name="stats_warn_conf_click_xy_none_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_click_xy_none_scale" class="fW50p" /> %</label>
            </dd>
            <dt>无移动轨迹流量比率：</dt>
            <dd>
                <select name="stats_warn_conf_move_track_none_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_move_track_none_scale" class="fW50p" /> %</label>
            </dd>
            <dt>点击坐标有负数比率：</dt>
            <dd>
                <select name="stats_warn_conf_click_xy_minus_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_click_xy_minus_scale" class="fW50p" /> %</label>
            </dd>
            <dt>移动轨迹有负数比率：</dt>
            <dd>
                <select name="stats_warn_conf_move_track_minus_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_move_track_minus_scale" class="fW50p" /> %</label>
            </dd>
            <dt>移动轨迹不少于3个比率：</dt>
            <dd>
                <select name="stats_warn_conf_move_track_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_move_track_scale" class="fW50p" /> %</label>
            </dd>
            <dt>Flash插件比率：</dt>
            <dd>
                <select name="stats_warn_conf_p_flash_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_p_flash_scale" class="fW50p" /> %</label>
            </dd>
            <dt>Alexa插件比率：</dt>
            <dd>
                <select name="stats_warn_conf_p_alexa_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_p_alexa_scale" class="fW50p" /> %</label>
            </dd>
            <dt>Net插件比率：</dt>
            <dd>
                <select name="stats_warn_conf_p_net_scale_op">
                    <option value=">">></option>
                    <option value=">=">>=</option>
                    <option value="<"><</option>
                    <option value="<="><=</option>
                </select>
                <label><input type="text" name="stats_warn_conf_p_net_scale" class="fW50p" /> %</label>
            </dd>
        </dl><!--/.dl2Col-->
        <if condition="C('C_IS_MASTER_SERVER') EQ 1">
        <ul class="btnList">
            <li><button type="button" class="btnFormEditSave">保存</button></li>
        </ul>
        </if>
        </form>
        </div><!--/#formConfWrap-->
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<script>
$(function(){
    <notempty name="record">
    var record = {$record|json_encode};

    Conf.set('formEditDao', record);
    </notempty>
})
</script>
<include file="Public:footer" />
